package com.six.firstpage.feign;

import com.github.pagehelper.PageInfo;
import com.six.core.entity.Goods;
import com.six.core.vo.GoodsVo;
import com.six.core.vo.Result;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @author:zzh
 * @create: 2023-03-02 16:47
 * @Description:
 */
@FeignClient(value = "caicaibang-goods")
public interface GoodsFeign {
    @PostMapping("/goods/goods/lising")
    PageInfo<Goods> listpaging(@RequestParam Integer currentPage, @RequestParam Integer pageSize, @RequestBody GoodsVo goodsVo);
}
